#ifndef CEXPRESSION_H
#define CEXPRESSION_H

#include <QString>

#include "recipient.h"
#include "gsmmodem.h"
#include "techparameter.h"

class CExpression
{
protected:
    RecipientList Recipients;
    QString Name;
    void SendSMS(QString Message);
    QDateTime sendTime;

public:
    CExpression(QString name);
    void addRecipient(CRecipient*);
    virtual void check()=0;

    static CExpression * createOsmos(QString message,CTechParameter *conductivity, CTechParameter * enable,double checkval, unsigned int checktime);
};

#endif // CEXPRESSION_H
